<div class="">
	<div class="button"><input type="button" id="saveTests" value="Save"></div>
	<div >
		<label class="appointmentlabel"><strong>Patient Name: </strong><%=tests[0].get("examinations")[0].appointment.patient.name%></label> 
		<label class="appointmentlabel" ><strong>Doctor Name: </strong><%=tests[0].get("examinations")[0].appointment.doctor.name%> </label>
	</div>
	<div>
		<table class="admintable">
			<tr>
				<th>Tests</th>
				<th>Test result</th>
			</tr>
			<% _.each(tests, function(result){%>
				<% var exams=result.get("examinations"); for(var ex in exams){%>
					<tr>
						<td><%= exams[ex].examination.examinationName%></td>
						<td><input class="testreading" type="text" id="<%= exams[ex].id%>" value="<%=exams[ex].testResult%>"/><%= exams[ex].examination.measureUnit%></td>
					</tr>

				<% }%>
			<% }); %>
			
		</table>
	</div>
</div>
